Choose Subscript dialog box

Use the Choose Subscript dialog box to select the array dimension or elements you want to use.

This dialog box appears when you're using an arrayed variable:

The options available in this dialog box vary slightly depending on the task you're performing.

The top of the dialog box displays the selected variable's name, followed by the currently selected array dimensions or elements.

Operation for *

This dropdown box will only appear when selecting variables to appear in tables, graph or other output objects. It is used to specify what will happen when * is selected. In addition to being a shorthand for selecting all elements, * can be used to indicate a sum across elements, or the mean, minimum or maximum of the elements. When you select one of these the selected variable name will change accordingly. If you have specified labels for these operations using the Dimension Configuration dialog box those labels will appear. For example:

In this case the product array dimension has had a label specified for MAX, while the store dimension has not. The available operations are:

All(*) to select all elements. This is only available when used with something that allows multiple variables. It is not, for example, available for numeric displays.

MAX to get the maximum value across elements.

MEAN to get the mean value across elements.

MIN to get the minimum value across elements.

SUM to get the sum of values across elements.

Columns

A column appears in the dialog box for each dimension in the selected variable's array (one column for a one-dimensional array, two columns for a two-dimension array, etc.).

Make a selection in each column to choose the dimensions/elements that you want to use.

Your selection appears in brackets at the top of the Choose Subscript dialog box, after the variable's name.

Multiple Variables

If you are seeing this dialog after selecting multiple variables, the dimensions you are selecting against will be the union of the dimensions for all of the variables. In this case your selection for each dimension will be applied to the variables containing that dimension.